<template>
  <Topnav />
  <div class="banner">
    <h1>Vue3学习-zlmUI</h1>
    <h2>一个简单的 UI 框架</h2>
    <p class="actions">
      <a href=""><IButton>GitHub</IButton></a>
      <router-link to="/doc"><IButton>开始</IButton></router-link>
    </p>
  </div>
</template>

<script lang="ts">
import Topnav from "../components/Topnav.vue";
import IButton from "../lib/Button.vue";
export default {
  components: {
    Topnav,
    IButton,
  },
};
</script>

<style lang="scss" scope>
.banner {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  // background: lightgreen;
  > .actions {
    padding: 8px 0;
    a {
      margin: 0 8px;
      background: #fff;
      display: inline-block;
      $h: 28px;
      height: $h;
      line-height: $h;
      border-radius: $h/2;
      padding: 0 8px;
    }
  }
}
</style>